package com.naze32.configurator.designerscripts;
import anywheresoftware.b4a.objects.TextViewWrapper;
import anywheresoftware.b4a.objects.ImageViewWrapper;
import anywheresoftware.b4a.BA;


public class LS_rcsettings{

public static void LS_general(java.util.HashMap<String, anywheresoftware.b4a.objects.ViewWrapper<?>> views, int width, int height, float scale) {
views.get("label0").setLeft((int)((50d / 100 * width)-(views.get("label0").getWidth())/2d));
views.get("label0").setTop((int)((0d / 100 * height)));
views.get("label1").setWidth((int)((80d * scale)));
views.get("label2").setWidth((int)((50d * scale)));
views.get("label1").setLeft((int)((45d / 100 * width)-(views.get("label2").getWidth())-(views.get("label1").getWidth())));
views.get("label2").setLeft((int)((45d / 100 * width)-(views.get("label2").getWidth())));
views.get("label5").setWidth((int)((80d * scale)));
views.get("label6").setWidth((int)((50d * scale)));
views.get("label5").setLeft((int)((45d / 100 * width)-(views.get("label6").getWidth())-(views.get("label5").getWidth())));
views.get("label6").setLeft((int)((45d / 100 * width)-(views.get("label6").getWidth())));
views.get("label9").setWidth((int)((80d * scale)));
views.get("label10").setWidth((int)((50d * scale)));
views.get("label9").setLeft((int)((45d / 100 * width)-(views.get("label10").getWidth())-(views.get("label9").getWidth())));
views.get("label10").setLeft((int)((45d / 100 * width)-(views.get("label10").getWidth())));
views.get("label13").setWidth((int)((80d * scale)));
views.get("label14").setWidth((int)((50d * scale)));
views.get("label13").setLeft((int)((45d / 100 * width)-(views.get("label14").getWidth())-(views.get("label13").getWidth())));
views.get("label14").setLeft((int)((45d / 100 * width)-(views.get("label14").getWidth())));
views.get("label3").setWidth((int)((80d * scale)));
views.get("label4").setWidth((int)((50d * scale)));
views.get("label3").setLeft((int)((55d / 100 * width)));
views.get("label4").setLeft((int)((55d / 100 * width)+(views.get("label3").getWidth())));
views.get("label7").setWidth((int)((80d * scale)));
views.get("label8").setWidth((int)((50d * scale)));
views.get("label7").setLeft((int)((55d / 100 * width)));
views.get("label8").setLeft((int)((55d / 100 * width)+(views.get("label7").getWidth())));
views.get("label11").setWidth((int)((80d * scale)));
//BA.debugLineNum = 36;BA.debugLine="Label12.Width=50dip"[rcsettings/General script]
views.get("label12").setWidth((int)((50d * scale)));
//BA.debugLineNum = 37;BA.debugLine="Label11.left=55%x"[rcsettings/General script]
views.get("label11").setLeft((int)((55d / 100 * width)));
//BA.debugLineNum = 38;BA.debugLine="Label12.Left=55%x+Label11.Width"[rcsettings/General script]
views.get("label12").setLeft((int)((55d / 100 * width)+(views.get("label11").getWidth())));
//BA.debugLineNum = 40;BA.debugLine="Label15.Width=80dip"[rcsettings/General script]
views.get("label15").setWidth((int)((80d * scale)));
//BA.debugLineNum = 41;BA.debugLine="Label16.Width=50dip"[rcsettings/General script]
views.get("label16").setWidth((int)((50d * scale)));
//BA.debugLineNum = 42;BA.debugLine="Label15.left=55%x"[rcsettings/General script]
views.get("label15").setLeft((int)((55d / 100 * width)));
//BA.debugLineNum = 43;BA.debugLine="Label16.Left=55%x+Label15.Width"[rcsettings/General script]
views.get("label16").setLeft((int)((55d / 100 * width)+(views.get("label15").getWidth())));

}
}